<!--
富文本编辑器使用
1.引入ckeditor.js
2.页面写入 textarea
3.CKEDITOR.replace('textarea'的name或id属性值)
    ( CKEDITOR.replace 与Vue 连用的时候会有生命周期的问题，
    将CKEDITOR.replace放在mounted:function ()里可以解决 )

取富文本内容
CKEDITOR.instances. textarea的name或id属性值 .getDate()
-->

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">
    {#    <input name="aa"><br>#}
    <textarea name="content" cols="'100" rows="10"></textarea>
</div>

</body>

<script src="./plugins/ckeditor/ckeditor.js"></script>
<script src="./js/vue-2.5.16.js"></script>

<script>
    let app = new Vue({
        el: 'app',
        data: {},
        mounted: function () {
            CKEDITOR.replace('content')
        },

    })
</script>

</html>